﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Idte.Application.Core.Navigation
{
    public class MenuCollection : HashSet<Menu>
    {
        public Menu this[string key]
        {
            get { return this.Where(m => m.Name == key).FirstOrDefault(); }
        }
    }
}
